//
//  MKTalentPoolMtbCollectionViewCell.swift
//  MOKOAnnounce
//
//  Created by 曹相召 on 2017/7/12.
//  Copyright © 2017年 cc.moko. All rights reserved.
//

import UIKit

class MKTalentPoolMtbCollectionViewCell: UICollectionViewCell {
    var icon:UIImageView!
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        self.backgroundColor = UIColor.white
        self.layer.cornerRadius = 5
        self.clipsToBounds = true
        
        self.icon = UIImageView.init()
        self.icon.image = UIImage.init(named: "Search-Mtb")
        self.contentView.addSubview(self.icon)
    }
    override func layoutSubviews() {
        super.layoutSubviews()
        self.icon.frame = CGRect.init(x: 12, y: 12, width: self.contentView.width - 24, height: self.contentView.height - 24)
    }
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

}
